package com.qfoud.edu.framwork.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xiaobobo
 * @title: BeanDefinition
 * @projectName cd-java-2303-project-parent
 * @description: 这个类是专门对类进行描述的类
 * @date 2023/5/8  15:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BeanDefinition {

    //类名
    private String typeName;

    //类的实例
    private Object instance;

    //是否有@RequestMapping这个注解
    private boolean requestMappingOrNot=false;

    //@RequestMapping这个注解的值
    private String requestMappingPath;

    //将一对多更改一对一的关联关系
    private BeanMethodDefinition beanMethodDefinition;

    //一个类中有多个方法
    //private List<BeanMethodDefinition> beanMethodDefinitions;

}
